package com.example.workflow.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "请假申请实体")
public class LeaveRequest implements Serializable {
    
    @Schema(description = "请假申请ID")
    private String id;
    
    @Schema(description = "申请人ID")
    private String userId;
    
    @Schema(description = "请假原因")
    private String reason;
    
    @Schema(description = "开始时间")
    private Date startTime;
    
    @Schema(description = "结束时间")
    private Date endTime;
    
    @Schema(description = "请假天数")
    private Integer days;
    
    @Schema(description = "状态")
    private String status;
} 